package com.example.chapter3_1.mapper;

import com.example.chapter3_1.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    @Insert("INSERT INTO user(name, password, sex) VALUES(#{name}, #{password}, #{sex})")
    int insertUser(User user);
} 